home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
util1
/
req2key.lha
/
req2key.doc
< prev
Wrap
Text File
|
1995-10-29
|
6KB
|
139 lines
req2key 1.0 - control your requesters via keyboard
===================================================
DISTRIBUTION
req2key 1.0 is FREEWARE
CHANGES
- req2key now can be removed using option quit or remove
- req2key auto-detaches, no need to run it (stack usage is also reduced ->
V1.0 doesn't use more memory than V0.9)
- req2key doesn't crash when started from WB (but it will not install
itself)
- now allows you to select one or more keys to cancel requesters (if you
like)
INTRODUCTION
req2key allows you to control your requesters via (configurable)
keyboard commands (all the old keyboard and mouse commands work too).
For example if you type 'req2key cancel "lshift ctrl escape" okay
"return rshift"', you will be able to cancel your requesters by pressing
left shift key, control key or escape key, select okay by pressing
return or right shift key....
req2key's default behavior is (if you start it without arguments):
escape - cancel your requester, same as LAmiga-B
return - select okay, same as LAmiga-V
f1,f2,..fn - select gadget number 1,2,...,n (from left to right)
(these keys can't be changed and will always work while
req2key is installed)
INSTALLATION
First of all, req2key needs at least Kickstart V2.0.
Put req2key in your C: directory (or somewhere in your path) and add the
command 'req2key' (with or without arguments) somewhere in your
s:user-startup or s:startup-sequence (I start it right after setpatch
before any trouble and requesters might occur).
The argument template for req2key is 'remove=quit/S, cancel/K, ok=okay/K'
where the arguments for cancel and okay are strings (specifying the
keys to select cancel or okay) matching the following template 'space/S,
ret=return/S, esc=escape/S, del=delete/S, help/S, lshift/S, rshift/S,
ctrl=control/S, lalt/S, ralt/S, lcommand=lamiga/S, rcommand=ramiga/S':
space - space bar
ret or return - return or enter key
esc or escape - escape key
del - delete key
help - help key
lshift - left shift key
rshift - right shift key
ctrl or control - control key
lalt - left alt key
ralt - right alt key
lcommand or lamiga - left amiga key
rcommand or ramiga - right amiga key
NOTE: - if you wan't to specify more than one key for cancel or okay, you have to
enclose the keys in "" (e.g. 'req2key ok "lshift return"')
- specifying lamiga or lcommand will prevent you from using lamiga-v
or lamiga-b
If req2key is already installed, and you start it twice (without option
quit or remove), you will reset your keyboard commands to those
specified by the arguments given to req2key.
If req2key is running and you start it again with option quit or
remove, it will try to remove the patches and deinstall itself. However
you will get a message telling you if or if not req2key was removed. If
you use option quit while req2key is not running, nothing will happen.
NOTE: - removing a patch is NEVER 100% safe, so using option quit or
remove might as well CRASH YOUR MACHINE. If you don't like this,
try 'req2key cancel "" okay ""' which is a way of disabling
req2key (guess why ?), but this will not free system resources
allocated by req2key (also remember the function keys, which are
not disabled).
- you can't remove req2key, while some requesters are active or if
another program has patched one or more of the functions patched
by req2key.
req2key CAN be installed while some requesters are active..your machine
WON'T crash (but you can't use the additional keyboard commands with
those requesters).
req2key patches 4 functions in intuition. Only requesters which are
built using EasyRequestArgs and BuildEasyRequestArgs are patched for the
new keyboard commands...
Hope you understood the above. My english isn't very good (as you might have
noticed ;) and I HATE writing docs. So here are some ...
EXAMPLES
command: cancel with select okay with
'req2key' escape return
'req2key cancel rshift' right shift return
'req2key cancel "lhsift escape"' left shift or escape return
'req2key okay "rshift ret"' escape rigth shift or return
'req2key ok "rshift ret" escape right shift or return
'req2key ok "" cancel ""' none none
'req2key cancel ""' none return
. . .
. . .
. . .
BUGS
- REMEMBER: using option quit or remove might CRASH your amiga (it NEVER did
crash my machine). If you use it, just hope (or make sure) that no other
program is about to open a requester.
- no real WB support (which I will NEVER add)
- no sanity checks (you can specify the same keys for cancel and okay)
AUTHOR
For comments or bug-reports please mail to:
Ralf Schmitt
schmr000@goofy.zdv.uni-mainz.de